package cn.dcw.pethome.org.mapper;

import cn.dcw.pethome.basic.mapper.BaseMapper;
import cn.dcw.pethome.org.domain.Department;
import cn.dcw.pethome.org.query.DepartmentQuery;

import java.util.List;

/*
部门管理
 */
public interface DepartmentMapper extends BaseMapper<Department>{


    //查询所有上级部门（2级联动）
    List<Department> getTree();

}
